package com.example.skyline.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.skyline.entity.Query;
import com.example.skyline.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserManagementMapper extends BaseMapper<User> {
    List<User> selectAll(@Param("username") String userName,
                         @Param("name") String name,
                         @Param("start") Integer start,
                         @Param("pageSize") Integer pageSize);

    int countAll(@Param("username") String userName,
                 @Param("name") String name);


}
